package com.jhoncy.rapid.base.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.io.Serializable;

/**
 * @author zhuangqi
 * @date 2017/7/19.
 */
@Entity
public class BaseUserRole implements Serializable{

    private static final long serialVersionUID = -242226533030752726L;
    @Id
    @Column(nullable = false,length = 32)
    private String lsh;

    @Column(length = 32)
    private String userId;

    @Column(length = 32)
    private String roleId;

    public String getLsh() {
        return lsh;
    }

    public void setLsh(String lsh) {
        this.lsh = lsh;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }
}
